package math;

public class Sigmoid {
	
	public static double sigmoid(double arg){
		return 1/(1+Math.exp(-(arg)));
	}
	
	public static void main(String[] args){
		System.out.println(sigmoid(-1e3));
		System.out.println(sigmoid(0));
		System.out.println(sigmoid(1e3));
	}

}
